/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package embuzzled.ui;

import java.awt.Point;
import javax.swing.JPanel;

/**
 *
 * @author Satyajeet
 */
class GCell extends JPanel{
    JPanel jpanel;
    Point position;
    Boolean GBool;

    public GCell(JPanel jp, Point pp) {

        jpanel = jp;
        position = pp;
    }



}

public class Grid{
    public Boolean[][] datagrid;
    public int rows, cols;

    public Grid(int rows, int cols) {

        this.rows = rows;
        this.cols = cols;

        datagrid = new Boolean[rows][cols];

        for(int loopr=0;loopr<rows;loopr++)
        {
            for(int loopc=0;loopc<cols;loopc++)
            {
                datagrid[loopr][loopc] = false;
            }
        }

    }


}
